print("欢迎使用用户检测系统".center(20))
user = {'root': '123456', 'admin': 'admin'}
while 1:
    select = input("任意键继续，按quit退出")
    if select == 'quit':
        print("即将退出查找...".center(20))
        break
    else:
        user_name = input("请输入用户名")
        user_pwd = input("请输入密码")
        if user_name in user and user_pwd in user[user_name]:
            print("验证成功")
        else:
            print("验证失败")